//
//  SNKWaterFlowLayout.h
//  SleepNews
//
//  Created by Kavee DJ on 2016/12/12.
//  Copyright © 2016年 Kavee DJ. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SNKWaterFlowLayout : UICollectionViewLayout

@property (nonatomic , copy) CGFloat (^HeightBlock)(CGFloat sender, NSIndexPath *index);

@property (nonatomic, assign) UIEdgeInsets sectionInset;
/** 每一列之间的间距 */
@property (nonatomic, assign) CGFloat columnMargin;
/** 每一行之间的间距 */
@property (nonatomic, assign) CGFloat rowMargin;
/** 显示多少列 */
@property (nonatomic, assign) int columnsCount;

@end
